
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改书籍</title>
    <%--bootstrp样式--%>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 colum">
            <div class="page-header">
                <h1>
                    <small>修改图书</small>
                </h1>
            </div>
        </div>
    </div>
    <form action="${pageContext.request.contextPath}/book/updateBook" method="post">
        <%--设置前端隐藏于--%>
        <input type="hidden" name="bookID" value="${QBooks.bookID}">
        <div class="form-group">
            <label >图书名称</label>
            <input type="text" name="bookName" value="${QBooks.bookName}" class="form-control" required>
        </div>
        <div class="form-group">
            <label>图书数量</label>
            <input type="text" name="bookCounts" value="${QBooks.bookCounts}" class="form-control" required>
        </div>
        <div class="form-group">
            <label >图书详情</label>
            <input type="text" name="detail" class="form-control" value="${QBooks.detail}" required>
        </div>
        <div class="form-group">
            <input type="submit" value="修改" class="form-control"  >
        </div>


    </form>
</div>
</body>
</html>
